# -*- Mode: shell-script -*-


my_fortuneteller_cow() {
    local my_cows=/usr/share/cowsay/cows/
    hash fortune &> /dev/null && \
        hash cowsay &> /dev/null && \
        [[ -d "$my_cows" ]] && \
        fortune literature | \
            cowsay -f $(ls /usr/share/cowsay/cows/ | shuf -n1) || \
            echo "🚀"
}


my_generate_random_pass() {
    cat /dev/urandom | tr -cd '[:alnum:]' | fold -w 32 | head -n 1
}


my_fortuneteller_cow
